﻿namespace Borg.AddOn
{
    public interface IComposerApiHook
    {
        void OnCompositionOperation(PlugCompositionOperation operation, Slot slot, Plug plug);
        void OnCompositionOperation(TagCompositionOperation operation, Slot slot, Plug plug, string tagName);
        void OnExtensionOperation(ExtensionOperation operation, Extension extension);
        void OnExtensionTypeOperation(ExtensionTypeOperation operation, ExtensionType extensionType);
        void OnPlugOperation(PlugOperation operation, Plug plug);
        void OnSetProperty(ComposerOperation operation);
        void OnSlotOperation(SlotOperation operation, Slot slot);
    }
}

